package cn.basic.social.manager.handler.dingtalkhandler;

import cn.basic.social.api.dingtalk.DingRequest;
import cn.basic.social.api.dingtalk.DingResponse;
import cn.basic.social.manager.config.ProviderConfig;
import cn.basic.social.manager.config.RedisCache;

/**
 * @ClassName ThirdpartDingService
 * @Description 钉钉-接口
 * @Author yk.zlf
 * @Date 2023/10/23 17:02
 */
public interface ThirdpartDingService<T extends DingResponse, E extends DingRequest> {

    /**
     * 请求方法
     *
     * @author zlf
     * @date 16:46 2023/9/1
     */
    default T invoke(E e, ProviderConfig providerConfig, RedisCache redisCache) throws Exception {
        return null;
    }

}
